// utils/response.ts
export const success = (data, code = 200) => {
  return { code, data };
};

export const error = (message, code = 500) => {
  return { code, message };
};